package com.juc.nonBlockingQueue.nonBblockingQueue10;

public class ThreadA extends Thread{

	private MyServiceA service;
	
	public ThreadA(MyServiceA service) {
		super();
		this.service = service;
		
	}
	@SuppressWarnings({ "unchecked", "static-access" })
	@Override
	public void run() {
		for (int i = 0; i < 100; i++) {
			service.list.add("anyString");
		}
	}
}
